<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s"  uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <meta content="text/html; charset=UTF-8" http-equiv="content-type" />
    <title>网站标题</title>
    <meta name="keywords" content="keyword ..." />
    <meta name="Description" content="description ..." />
    <!--<link href="favicon.ico" rel="shortcut icon" />-->
    <link href="css/global.css" rel="stylesheet" type="text/css" />
    <link href="css/exchange.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="header">
	<jsp:include page="include/header.jsp" />
</div>
<div id="maincontent">  
  <div id="exchange">
   <div class="t"><div class="step"><img src="pic/step2.jpg" alt="" title="" /></div></div>
   <div class="body">
   <div id="addresscontent">
     <dl>
       <dt>收货人信息<a href="javascript:void(showexchange('exchangeaddress'))">[修改]</a></dt>
       <dd>
         <ul>
           <li><label>收货人姓名：</label>XXX</li>
           <li><label>所在地区：</label>福建省 龙岩市 新罗区</li>
           <li><label>街道地址：</label>天马山庄XX-X</li>
           <li><label>邮政编码：</label>364000</li>
           <li><label>手机：</label>13750040701</li>
           <li><label>固定电话：</label>无</li>
           <li><label>邮政编码：</label>364000</li>
         </ul>
       </dd>
     </dl>
   </div>
   <div class="exchangetitle">礼品清单<a href="shoppingList">[返回修改兑换车]</a></div>
     <div id="formcontent">
       <ul class="ul">
         <li class="lit"><span class="s1">礼品名称</span><span class="s2">数量</span><span class="s2">微商城积分</span><span class="s2">小计</span></li>
         <s:iterator value="#session.shoppingList" status="st" >
         <li>
          <div class="img"><a href="giftdetail?giftId=<s:property value="id" />"><img src="<s:property value="pic" />" alt="" title="" /></a></div>
          <div class="name"><h4><a href="giftdetail?giftId=<s:property value="id" />"><s:property value="name" /></a></h4><p class="type">款式：怒</p></div>
          <div class="num"><s:property value="num" /></div>
          <div class="point"><s:property value="point" />分</div>
          <div class="point"><s:property value="point*num" />分</div>
          <s:if test="outOfBoundIndex==#st.index">
          <font color="#FF0000"><s:property value="#request.feedbackMsg" /></font>
          </s:if>
         </li>
         </s:iterator>
       </ul>
       <div class="remark">
        <b>备注：</b><input type="text" class="text" />如果您在兑换过程中遇到问题<a href="javascript:void(showexchange('submitquestion'))">[请点击此反馈]</a>
       </div>
       <div class="control">
       
       <s:if test="outOfBoundIndex==-1&&#request.feedbackMsg!=null" >
       <div class="tip">抱歉！您目前的微商城积分为<b><s:property value="#session.user.totalPoint" /></b>分，无法提交订单。</div>
       合计：<b><s:property value="totalPoint" />分</b> 
       <input type="button" class="checkout disable" value="" />
       </s:if>
       
       <s:else>
       合计：<b><s:property value="totalPoint" />分</b> 
       
       
       <s:if test="outOfBoundIndex!=-1" >
       <input type="button" class="checkout disable" value="" />
       </s:if>
       
       <s:else>
       <input onclick="location='submitorder'" type="button" class="checkout nodisable" value="" />
       </s:else>
       </s:else>
       </div>
     </div>
   </div>
   <div class="b"></div>
  </div>
</div>
<div id="footer">
 <div class="menu"><a href="#">关于微积分</a><span>|</span><a href="#">服务条款</a><span>|</span><a href="#">加盟合作</a><span>|</span><a href="#">广告服务</a><span>|</span><a href="#">客服中心</a><span>|</span><a href="#">意见反馈</a><span>|</span><a href="#">网站导航</a></div>
 <p><span>&copy;</span> 2009-2011 Wjifen.com All Right Reserved 京ICP备09045377号-2</p>
 <p>广州科信德科技发展有限公司 版权所有</p>
</div>
<!--修改收货人信息-->
<div class="exchangeflow" id="exchangeaddress">
  <div class="t"><input type="button" class="closebtn" onclick="closeexchange()" /><strong><img src="pic/exchange_t2.jpg" alt="" title="" /></strong></div>
  <div class="body">
   <ul>
     <li><label>收货人姓名：</label><input type="text" class="text" style="width:230px;" /><span>*</span></li>
     <li><label>所在地区：</label><select class="select"><option>&nbsp;省份/直辖市&nbsp;</option></select><select class="select"><option>&nbsp;市&nbsp;</option></select><select class="select"><option>&nbsp;县/区&nbsp;</option></select><span>*</span></li>
     <li><label>街道地址：</label><textarea class="textarea" rows="10" cols="10"></textarea><span>*</span>不需要重复填写省/市/区</li>
     <li><label>邮政编码：</label><input style="width:120px;" type="text" class="text" /><span>*</span></li>
     <li><label>手机：</label><input style="width:120px;" type="text" class="text" /> 或 固定电话：<input type="text" class="text" value="区号" onblur="if(this.value == '') this.value = '区号';" onfocus="if(this.value == '区号') this.value = '';" style="width:40px; text-align:center;" />- <input type="text" class="text" style="width:95px;" /><span>*</span></li>
     <li><label>邮箱：</label><input type="text" class="text" style="width:230px;" /></li>
   </ul>
   <div class="btn"><input type="button" class="savebtn savebtns" value="" onclick="closeexchange()" /></div>
  </div>
  <div class="b"></div>
</div>
<!--问题反馈-->
<div class="exchangeflow" id="submitquestion">
  <div class="t"><input type="button" class="closebtn" onclick="closeexchange()" /><strong><img src="pic/exchange_t1.jpg" alt="" title="问题反馈" /></strong></div>
  <div class="body">
   <ul>
     <li><label>您的姓名：</label><input type="text" class="text" style="width:230px;" /><span>*</span></li>
     <li><label>您的邮箱：</label><input type="text" class="text" style="width:230px;" /><span>*</span></li>
     <li><label>内容：</label><textarea class="textarea" rows="10" cols="10"></textarea><span>*</span>不需要重复填写省/市/区<p class="p">内容长度1-10000字</p></li>
   </ul>
   <div class="btn"><input type="button" class="savebtn" value="" onclick="showexchange('submitquestionsuccess')" /></div>
  </div>
  <div class="b"></div>
</div>
<!--问题反馈成功-->
<div class="exchangeflow" id="submitquestionsuccess">
  <div class="t"><input type="button" class="closebtn" onclick="closeexchange()" /><strong><img src="pic/exchange_t1.jpg" alt="" title="问题反馈" /></strong></div>
  <div class="body">
   <div class="success">
   <p>问题反馈已提交成功！感谢您的支持。</p>
   <p>我们将尽快处理并在<b>48</b>小时内给您答复，请留意您的邮箱和本网站的“系统消息”。</p>
   <p>如还有疑问，请联系客服电话<b>400-111-2222</b></p>
   </div>
   <div class="btn"><input type="button" class="savebtn btnclose" value="" onclick="closeexchange()" /></div>
  </div>
  <div class="b"></div>
</div>
<div id="fullcontent"><div class="fullcontent"></div></div>
<script language="javascript" type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
<script language="javascript" type="text/javascript" src="js/default.js"></script>
<script language="javascript" type="text/javascript" src="js/exchange.js"></script>
</body>
</html>
<s:debug></s:debug>